package com.shire.shire_interface.dao.cs;

import com.shire.shire_interface.model.cs.WxChat;
import com.shire.shire_interface.model.cs.WxChatExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WxChatDao {
    long countByExample(WxChatExample example);

    int deleteByExample(WxChatExample example);

    int deleteByPrimaryKey(Long id);

    int insert(WxChat record);

    int insertSelective(WxChat record);

    List<WxChat> selectByExampleWithBLOBs(WxChatExample example);

    List<WxChat> selectByExample(WxChatExample example);

    List<WxChat> selectMaxIdForAccount(WxChatExample example);

    WxChat selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") WxChat record, @Param("example") WxChatExample example);

    int updateByExampleWithBLOBs(@Param("record") WxChat record, @Param("example") WxChatExample example);

    int updateByExample(@Param("record") WxChat record, @Param("example") WxChatExample example);

    int updateByPrimaryKeySelective(WxChat record);

    int updateByPrimaryKeyWithBLOBs(WxChat record);

    int updateByPrimaryKey(WxChat record);
}